@layout("/common/_container.html"){
<div class="ibox float-e-margins">
	<div class="ibox-content">
		<div class="form-horizontal" id="userInfoForm">
		
			<input type="hidden" id="id" value="">

			<div class="row">
				<div class="col-sm-12">

					<#input id="name" name="姓名" underline="true" required="true"/>

					<#input id="account" name="登陆名" underline="true" required="true"/>

					<#input id="password" name="密码" underline="true" type="password" required="true"/>

					<#input id="rePassword" name="确认密码" type="password" underline="true" required="true"/>
                    
                    <#select id="schoolId" name="所属学校" underline="true"
                         select2Flag="true" urlForSelect2="${ctxPath}/seniorschool/listSchoolForSelect2" async="true">
                           @if(isNotEmpty(schoolu)){
		                            @for(es in schoolu){
		                                <option value="${es.id}" selected="selected">${es.text}</option>
		                            @}
		                        @}
                    </#select>
					 <#select id="classId" name="所属班级" underline="true" paramFun="UserInfoDlg.getSchoolId('schoolId')"
                                select2Flag="true" urlForSelect2="${ctxPath}/seniorSchoolClass/listSchoolClassForSelect2" async="true">
                                @if(isNotEmpty(classu)){
		                            @for(es in classu){
		                                <option value="${es.id}" selected="selected">${es.text}</option>
		                            @}
		                        @}
                     </#select>
					<!-- <#input id="roleId" name="角色" underline="true" disabled="disabled"/> -->

				</div>
			</div>

			<div class="row btn-group-m-t">
					<#button btnCss="info" name="提交" id="ensure" icon="fa-check" clickFun="UserInfoDlg.addSubmit()"/>
					<#button btnCss="danger" name="取消" id="cancel" icon="fa-eraser" clickFun="UserInfoDlg.close()"/>
			</div>
		</div>

	</div>
</div>
<script src="${ctxPath}/static/modular/system/user/userInfo.js"></script>
@}
